package com.itgacl.magic4j.libcommon.component.license.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author gacl
 * @version 1.0
 * @description: License信息
 * @date 2021/12/23 17:45
 */
@Data
public class LicenseInfo implements Serializable {

    @ApiModelProperty(value = "机器码")
    private String machineCode;

    @ApiModelProperty(value = "license模式，0：单机模式，1：时限模式，2：联网模式")
    private Integer mode;

    @ApiModelProperty(value = "授权有效期")
    private String expiryTime;

    @ApiModelProperty(value = "license证书内容加密使用的rsa公钥")
    private String licensePublicKey;

    @ApiModelProperty(value = "license证书内容加密使用的rsa私钥")
    private String licensePrivateKey;

    @ApiModelProperty(value = "自定义私钥使用的种子(长度为8~16)")
    private String seed;

    @ApiModelProperty(value = "license证书内容")
    private String licenseContent;

    @ApiModelProperty(value = "license证书本地存放路径")
    private String licenseFilePath;
}
